package cn.wzptsoft.mall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.security.config.annotation.authentication.configuration.EnableGlobalAuthentication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;

@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)//使用自定义配置
@EnableMethodSecurity//开启基于方法授权
public class MallApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(MallApplication.class, args);
		System.out.println(111);
	}

}
